<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>窗口固定浮动框-fixed</title>
<meta content="" name="description">
<style type="text/css">
	*html{
		background-image:url(about:blank);
		background-attachment:fixed;
	}
	.fixed{position:fixed; right:60px; top:100px; border:#666666 3px solid; background-color:#CCCCCC; padding:26px;}
	#fixed {
		_position: absolute;
		_top:expression(eval(documentElement.scrollTop + this.clientHeight));	
	}

	body{ margin:0px; padding:0px; font-size:12px; line-height:22px;}
	p{ margin:0px; padding:36px;}
	.float2{ position:absolute; padding:26px; border:#999999 3px solid; background-color:#3399FF; right:200px; top:200px;}
</style>
</head>
<body>
	<p style="color:green;">无抖动，兼容IE，FF等浏览器</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<p>测试内容.........</p>
	<div class="float2">浮动的内容2</div>
	<div class="fixed" id="fixed">我的位置是固定的！拉动滚动条看效果。</div>
</body>
</html> 